Add snapshot graph API and cluster-first graph explorer UI#92
Merged
saurabhsharma2u merged 2 commits intoMar 4, 2026
Conversation
saurabhsharma2u
changed the base branch from
main
to
codex/add-interactive-structural-graph-page
March 4, 2026 18:22
…/add-interactive-structural-graph-page-piyuia
saurabhsharma2u
merged commit Mar 4, 2026
dc875d6
into
codex/add-interactive-structural-graph-page
0 of 6 checks passed
saurabhsharma2u
deleted the
codex/add-interactive-structural-graph-page-piyuia
branch
March 4, 2026 18:26
saurabhsharma2u
added a commit
that referenced
this pull request
Mar 4, 2026
…rver) (#90) * feat(web): add high-performance snapshot structure graph page * feat(graph): redesign explorer with cluster-first LOD model (#92) * feat: implement internal page classification, fix thin content reporting, and optimize dashboard filtering * fix: refine snapshot behavior, trap detection, and health scoring * feat: blend core health score with plugin scores and cleanup redundant scoring logic * fix: drop legacy type column from snapshots table in migration * fix: isolate single page snapshots to only load metrics for the targeted page * tired...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
GET /api/graph/snapshotandGET /api/graph/neighborsthat expose hierarchical node projections (sections → clusters → urls) and optional internal edges, with filtering options likelevel,minPageRank,minInlinks,minOutlinks,maxNodes,maxEdges,search, andincludeEdges.SnapshotGraphNodeandSnapshotGraphEdgepayload shapes on the server and client, and return metadata about truncation and counts.fetchSnapshotGraphandfetchGraphNeighborsand extendapi.tstypes to includeSnapshotGraphResponseand query options.GraphPagecomponent implementing a cluster-first radial layout with progressive LOD (three zoom levels), heat rings, interaction-driven neighbor/edge fetch, canvas rendering, and controls for filtering and node selection.App.tsx(route/graph).Testing
packages/serverandpackages/webwhich completed successfully (yarn build/npm run build)./graphpage and the new endpoints, confirming responses and canvas rendering (no automated unit tests were added for the new features).Codex Task